negotiator.boaframework.acceptanceconditions.anac2011
Class AC_Gahboninho

java.lang.Object
  extended by negotiator.boaframework.AcceptanceStrategy
      extended by negotiator.boaframework.acceptanceconditions.anac2011.AC_Gahboninho

public class AC_Gahboninho
extends AcceptanceStrategy

Author:
Mark Hendrikx and Alex Dirkzwager This is the decoupled Acceptance Conditions from the Gahboninho (ANAC2011). The code was taken from the ANAC2011 Gahboninho and adapted to work within the BOA framework. Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies T. Baarslag, K. Hindriks, M. Hendrikx, A. Dirkzwager, C.M. Jonker BUG In the original version the opponent model is only updated once, which is good for the performance of the agent, as the model is very slow.

Field Summary
 
Fields inherited from class negotiator.boaframework.AcceptanceStrategy
helper, negotiationSession, offeringStrategy, opponentModel
 
Constructor Summary
AC_Gahboninho()
           
AC_Gahboninho(NegotiationSession negotiationSession, OfferingStrategy offeringStrategy)
           
 
Method Summary
 Actions determineAcceptability()
          Determines to either to either accept or reject the opponent's bid or even quit the negotiation.
 void init(NegotiationSession negoSession, OfferingStrategy strat, OpponentModel opponentModel, java.util.HashMap<java.lang.String,java.lang.Double> parameters)
          Standard initialize method to be called after using the empty constructor.
 void initializeAgent(NegotiationSession negoSession, OfferingStrategy strat)
           
 
Methods inherited from class negotiator.boaframework.AcceptanceStrategy
endSession, isMAC, loadData, printParameters, setOpponentUtilitySpace, storeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AC_Gahboninho

public AC_Gahboninho()

AC_Gahboninho

public AC_Gahboninho(NegotiationSession negotiationSession,
                     OfferingStrategy offeringStrategy)
Method Detail

init

public void init(NegotiationSession negoSession,
                 OfferingStrategy strat,
                 OpponentModel opponentModel,
                 java.util.HashMap<java.lang.String,java.lang.Double> parameters)
          throws java.lang.Exception
Description copied from class: AcceptanceStrategy
Standard initialize method to be called after using the empty constructor. Most of the time this method should be overridden for usage by the decoupled framework.

Overrides:
init in class AcceptanceStrategy
Parameters:
negoSession - state of the negotiation.
strat - of the agent.
parameters - of the acceptance strategy.
Throws:
java.lang.Exception - thrown when initializing the acceptance strategy fails.

initializeAgent

public void initializeAgent(NegotiationSession negoSession,
                            OfferingStrategy strat)

determineAcceptability

public Actions determineAcceptability()
Description copied from class: AcceptanceStrategy
Determines to either to either accept or reject the opponent's bid or even quit the negotiation.

Specified by:
determineAcceptability in class AcceptanceStrategy
Returns:
one of three possible actions: Actions.Accept, Actions.Reject, Actions.Break.